@charset "utf-8";
/**
 * Created by kroyo on 2017/12/13.
 * index  
 */


@import 'common/mixincommon';



.main{
    padding-bottom: r(150px);
}


//倒计时
.main-timer{
    width: 100%;
    height: r(100px);
    line-height: r(100px);
    font-size: 0;
    text-align: center;
    &>div{
        display: inline-block;
    }
    .timer-icon{
        width: r(24px);
        height: r(24px);
        background: url(../img/icon-timer.png) no-repeat center;
        background-size: 100%;
        margin-right: r(6px);
        vertical-align: r(-2px);
    }
    .timer-text{
        color: $red;
        font-size: r(24px);
        margin-right: r(20px);
    }
    .timer{
        span{
            display: inline-block;
            width: r(36px);
            height: r(28px);
            line-height: r(28px);
            font-size: r(24px);
            color: #ffffff;
            background-color: $red;
            @include borradius(r(4px));
            text-align: center;
        }
        i{
            display: inline-block;
            color: $red;
            font-size: r(24px);
            margin: 0 r(6px);
        }
    }
}


.main-header{
    width: 100%;
    height: r(100px);
    font-size: 0;
    border-bottom: 1px solid $borcolor;
    .header-btn{
        position: relative;
        display: inline-block;
        width: 50%;
        height: 100%;
        line-height: r(100px);
        color: $s9;
        font-size: r(32px);
        text-align: center;
        @include transitions(.4s);
        &:after{
            display: block;
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: r(4px);
            background-color: $acolor;
            @include transitions(.4s);
            -webkit-transform-origin: center;
            transform-origin: center;
            @include transformt(scale(0,1));
        }
        &:hover,&.active{
            color: $acolor;
            &:after{
                @include transformt(scale(1,1));
            }
        }
    }
    .header-btn:first-of-type:before{
        position: absolute;
        top: r(30px);   
        right: 0;
        display: block;
        content: '';
        width: 1px;
        height: r(40px);
        background-color: $sc;
    }
}





.main-content{
    padding: 0 r(32px);
    .view-detail{
        
    }
    .view-label{
        display: none;
    }
    .content-top{
        width: 100%;
        height: r(90px);
        line-height: r(88px);
        color: $acolor;
        font-size: r(24px);
        margin-top: r(30px);
        margin-bottom: r(30px);         
        border: 1px solid $acolor;
        @include borradius(4px);
        .icon{
            float: left;
            width: r(160px);
            height: 100%;
            background-color: $acolor;
            color: #ffffff;
            text-align: center;
            &:before{
                display: inline-block;
                content: '';
                width: r(32px);
                height: r(32px);
                background-image: url(../img/icon-img2.png);
                background-size: 100%;
                margin-right: r(10px);
                vertical-align: middle;
            }
        }
        .text{
            float: left;
            max-width: r(520px);
            padding-left: r(20px);
        }
    }
    .earnest-text{
        color: $yelow;
        border-color: $yelow;
        .icon{
            background-color: $yelow;
            &:before{
                height: r(40px);
                background-image: url(../img/icon-img1.png);
                background-size: 100%;
            }
        }
        .text{
            line-height: normal;
            word-break: break-all;
            padding-top: r(10px);
        }
    }
    
    .list-item{
        padding: r(20px) 0;
        font-size: 0;
        .label{
            display: inline-block;
            width: r(180px);
            font-size: r(28px);
            color: $s9;
            padding-right: r(65px);
            vertical-align: top;
        }
        .text{
            display: inline-block;
            max-width: r(500px);
            font-size: r(28px);
            color: $s3;
            word-break: break-all;
        }
        .btn{
            display: block;
            width: r(200px);
            height: r(50px);
            line-height: r(50px);
            font-size: r(24px);
            color: #ffffff;
            background-color: $acolor;
            @include borradius(4px);
            text-align: center;
        }
    }
    //产品资料
    .item-inform{
        .label{
            line-height: r(50px);
        }
        .inform-list{
            display: inline-block;
            width: r(500px);
        }
        li{
            width: 100%;
            line-height: r(50px);
            margin-bottom: r(30px);
        }
        li:last-of-type{
            margin-bottom: 0;
        }
        .li-text{
            float: left;
            width: auto;
            max-width: r(330px);
            font-size: r(28px);
            color: $s3;
            @include textoverflow;
        }
        .btn{
            width: r(160px);
            &:before{
                display: inline-block;
                content: '';
                width: r(24px);
                height: r(24px);
                background: url(../img/icon-load.png) no-repeat center;
                background-size: 100%;
                margin-right: r(10px);
                vertical-align: r(-4px);
            }
        }
        .inform-right{
            display: inline-block;
        }
        .inform-list{
            margin-top: r(30px);
        }
        .inform-list .btn{
            float: right;
            color: $acolor;
            border: 1px solid $acolor;
            background-color: transparent;
            &:before{
                display: none;
            }
        }
    }
    //暂无该产品标签
    .view-nodata{
        font-size: r(28px);
        color: $sc;
        text-align: center;
        margin-top: r(80px);
        .icon{
            width: r(190px);
            height: r(240px);
            background: url(../img/icon-nolabel.png) no-repeat center;
            background-size: 100%;
            margin: 0 auto r(30px);
        }
    }
}




.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: r(120px);
    line-height: r(90px);
    padding: 0 r(32px) r(30px);
    background-color: #ffffff;
    z-index: 1;
    .footer-btn{
        display: block;
        width: 100%;
        height: 100%;
        font-size: r(32px);
        color: #ffffff;
        text-align: center;
        background-color: $acolor;
        @include box_shadows(0px,2px,r(10px),0px,rgba(0, 0, 0, 0.2));
        @include borradius(r(45px));
    }
    .graybtn{
        background-color: #eeeeee;
        color: $s9;
    }
    .redbtn{
        background-color: #eeeeee;
        color: $red;
    }
    .halfbtn{
        display: block;
        width: r(300px);
        height: 100%;
        font-size: r(32px);
        color: #ffffff;
        text-align: center;
        background-color: $acolor;
        @include box_shadows(0px,2px,r(10px),0px,rgba(0, 0, 0, 0.2));
        @include borradius(r(45px));
    }
    .refusebtn{
        color: $red;
        background-color: #ffffff;
    }
}







//报价弹窗
.win-content{
    width: r(640px);
    height: r(450px);
    background-color: #ffffff;
    padding: 0 r(50px);
    .content-title{
        width: 100%;
        height: r(100px);
        line-height: r(100px);
        font-size: r(32px);
        color: $s3;
        text-align: center;
    }
    .content-form{
        width: 100%;
        height: r(220px);
        .inputtext{
            display: table-row;
            width: 100%;
            height: r(80px);
            padding: 0 r(20px);
            border: 1px solid $borcolor;
            @include borradius(4px);
            font-size: r(28px);
            color: $s3;
            @include inputplace($sc);
            margin-bottom: r(30px);
        }
    }
    .updata{
        width: 100%;
        height: r(80px);
        line-height: r(80px);
        background-color: $acolor;
        @include borradius(4px);
        text-align: center;
        .btn{
            display: block;
            width: 100%;
            height: 100%;
            font-size: r(32px);
            color: #ffffff;
            margin: 0 auto;
        }
    }
    &.odd{
        height: r(350px);
        .content-form{
            height: r(120px);
        }
    }
}



.site-download{
    .win-content{
        height: r(390px);
        padding-top: r(40px);
    }
    .content-title{
        height: auto;
        line-height: normal;
        font-size: r(28px);
        color: $s6;
        text-align: left;
    }
    .download-url{
        width: 100%;
        height: r(80px);
        line-height: r(78px);
        @include borradius(r(4px));
        border: 1px solid #dddddd;
        color: $s9;
        font-size: r(28px);
        padding: 0 r(20px);
        margin: r(30px) 0;
        input{
            width: 100%;
            height: 100%;
            background-color: transparent;
        }
    }
    .copybtn{
        display: block;
        width: 100%;
        height: r(80px);
        line-height: r(80px);
        font-size: r(32px);
        color: #ffffff;
        text-align: center;
        background-color: $acolor;
        @include borradius(r(4px));
    }
}
